//
//  SLLockLogCell.h
//  SlockApp
//
//  Created by 凯朱 on 2024/7/25.
//

#import <UIKit/UIKit.h>

@interface SLLockLogModel : NSObject
@property (nonatomic, strong)NSString *unlockType;//1-蓝牙开锁  2-蓝牙远程开锁  3-指纹开锁 99-告警信息
@property (nonatomic, strong)NSString *unlockTime;
@property (nonatomic, strong)NSString *unlockUid;
@property (nonatomic, strong)NSString *unlockUame;
@property (nonatomic, strong)NSString *deviceId;

//保存id
@property (nonatomic, strong)NSString *accessId;
/*
 告警原因（1字节）：
 0x00：电量低，
 0x01：电量耗尽，
 0x02：指纹连续错误，
 0x03：密码连续错误，
 0x04：门卡连续错误，
 0x05：人脸连续错误，
 0x06：掌纹连续错误，
 0x07：指静脉连续错误，
 0x08：防撬，
 0x09：超时未关门，
 0x0A：高温报警
 */
@property (nonatomic, strong)NSString *warnType;

@end

@interface SLLockLogCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UILabel *timeLbl;
@property (weak, nonatomic) IBOutlet UIView *upLine;
@property (weak, nonatomic) IBOutlet UIView *crleIcon;
@property (weak, nonatomic) IBOutlet UIView *downLine;
@property (weak, nonatomic) IBOutlet UILabel *titleLbl;
@property (weak, nonatomic) IBOutlet UILabel *descLbl;
@property (nonatomic, strong)SLLockLogModel *model;
@end


